projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9bb121c
)
print operation: Fix compiler warnings
author
Matthias Clasen
<mclasen@redhat.com>
Sun, 31 May 2015 01:28:08 +0000
(21:28 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Tue, 2 Jun 2015 13:08:15 +0000
(09:08 -0400)
Fix warnings due to -Wdeclaration-after-statement and -Wshadow.
gtk/gtkprintoperation.c
patch
|
blob
|
history
diff --git
a/gtk/gtkprintoperation.c
b/gtk/gtkprintoperation.c
index 057430b4127ee2a99ad4f4c6229878760e27a557..929cdafea61988482c2f2aa6dd4a1a6ef7f8065f 100644
(file)
--- a/
gtk/gtkprintoperation.c
+++ b/
gtk/gtkprintoperation.c
@@
-2506,7
+2506,6
@@
common_render_page (GtkPrintOperation *op,
else
{
GtkPageOrientation orientation;
- GtkPageSetup *page_setup;
gdouble paper_width, paper_height;
gdouble page_width, page_height;
gdouble context_width, context_height;